package com.coolingme.poi.hutool;

import cn.hutool.core.annotation.Alias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * poi导入/导出的Bean
 *
 * @author wangyue
 * @date 2020-08-09 17:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudentBean {

    @Alias("姓名")
    private String name;

    @Alias("年龄")
    private Integer age;

    @Alias("成绩")
    private Double score;

    @Alias("是否通过")
    private boolean pass;

    // 考试时间
    @Alias("考试时间")
    private Date examDate;
}
